package cn.mikuhl.onlinereviewsplatform.DTO;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class MovieDTO {

    private Long id;
    private String title;
    private String director;
    private String description;
    private String posterUrl;
    private List<CommentDTO> comments;

    public MovieDTO(Long id, String title, String director, String description, String posterUrl, List<CommentDTO> comments) {
        this.id = id;
        this.title = title;
        this.director = director;
        this.description = description;
        this.posterUrl = posterUrl;
        this.comments = comments;
    }

}
